package org.example.utils;

import org.javatuples.Triplet;

import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;

public class TextUtil {

    static public ArrayList<String> readText(String filePath) throws IOException, FileNotFoundException {
        Path path = Paths.get(filePath);
        List<String> lines = Files.readAllLines(path);
        return new ArrayList<>(lines);
    }

    static public ArrayList<Triplet<String, String, String>> createEdge(ArrayList<String> strArr) {
        return null;
    }


}
